﻿@model OES.Models.Course
@{
    ViewBag.Title = "Sil";
}
<h3>
    Bu dersi silmek istediğinize emin misiniz?</h3>
<fieldset>
    <legend>Silme</legend>
@*    <div class="display-label">
        @Html.DisplayNameFor(model => model.Instructor.UserName)
    </div>
    <div class="display-field">
    </div>
    <div class="display-label">
    </div>
    <div class="display-field">
    </div>
    <div class="display-label">
    </div>
    <div class="display-field">
    </div>*@
    <table class="table table-striped table-bordered">
        <tr>
            <td>
                @Html.DisplayNameFor(model => model.Instructor.UserName)
            </td>
            <td>
                @Html.DisplayFor(model => model.Instructor.UserName)
            </td>
        </tr>
        <tr>
            <td>@Html.DisplayNameFor(model => model.Name)
            </td>
            <td>@Html.DisplayFor(model => model.Name)
            </td>
        </tr>
        <tr>
            <td>@Html.DisplayNameFor(model => model.CreateDate)
            </td>
            <td>@Html.DisplayFor(model => model.CreateDate)
            </td>
        </tr>
    </table>
</fieldset>
@using (Html.BeginForm())
{
    <p>
        <input type="submit" value="Sil" class="btn"/>
        |
        @Html.ActionLink("Önceki sayfaya dön", "Index")
    </p>
}
